import $ from '@/http'

// cse/schedule/management/queryCurrentUserScheduleWithCondition 条件查询当前登录用户参与的日程
const queryCurrentUserScheduleWithCondition = data => {
  return $.jsonPost(
    'cse/schedule/management/queryCurrentUserScheduleWithCondition',
    data
  )
}

// /cse/schedule/management/queryOrganizerWithCurrentUser 查询当前登录用户参与的所有日程的组织者信息
const queryOrganizerWithCurrentUser = data => {
  return $.jsonPost(
    'cse/schedule/management/queryOrganizerWithCurrentUser',
    data
  )
}

export default {
  queryCurrentUserScheduleWithCondition,
  queryOrganizerWithCurrentUser
}
